#include "Shape.h"

Shape::Shape() {
  mColor = "white";
  mFilled = false;
}

Shape::Shape(string aColor, bool aFilled) {
  this->mColor = aColor;
  this->mFilled = aFilled;
}

string Shape::getColor() {
  return mColor;
}

void Shape::setColor(string aColor) {
  this->mColor = aColor;
}

bool Shape::isFilled() {
  return mFilled;
}

void Shape::setFilled(bool aFilled) {
  this->mFilled = aFilled;
}

string Shape::toString() {
  return "Shape color " + mColor +
    " filled " + ((mFilled) ? "true" : "false");
}
